<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动综合practice3</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        /* li {
            list-style: none;
        } */
        .box {
            width: 1226px;
            height: 615px;
            background-color: gray;
            margin: 0 auto;
        }
        .box1 {
            float: left;
            width: 234px;
            height: 615px;
            background-color: purple;
        }
        .box2 {
            float: left;
            width: 992px;
            height: 615px;
            
        }
        .box2>div {
            float: left;
            width: 234px;
            height: 300px;
            background-color: skyblue;
            margin-left: 14px;
            margin-bottom: 14px;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="box1">这个盒子插入图片</div>
        <div class="box2">
           <div>1</div>
           <div>2</div>
           <div>3</div>
           <div>4</div>
           <div>5</div>
           <div>6</div>
           <div>7</div>
           <div>8</div>
        </div>
    </div>
</body>

</html>